#include<bits/stdc++.h>
using namespace std;
bool vis[100005];
int n;
int a;
int num=0;
map<int,int>mp;
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    scanf("%d",&n);
    for(int i=1;i<=n;i++){
        scanf("%d",&a);
        mp[a]++;
    }
    for(auto it=mp.begin();it!=mp.end();it++){
        int cnt=(*it).second;
        num=max(num-cnt,0);
        num+=cnt;
    }
    printf("%d",num);
    return 0;
}
